﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/TLFLayout.Master" AutoEventWireup="true" CodeBehind="VehicleDispatchFormView.aspx.cs" Inherits="DingHeng.TransportationManagement.WebSite.Biz.VehicleDispatchFormView" %>

<%@ Register Src="~/userControls/leftNav.ascx" TagPrefix="uc1" TagName="leftNav" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript">
        function Print() {
            window.open('VehicleDispatchFormPrint.aspx' + window.location.search);
            return false;
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderTop" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolderLeft" runat="server">
    <uc1:leftNav runat="server" ID="leftNav" />
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolderSecondNavigation" runat="server">
    <div class="secondaryNavigation">
        <a href="#">主页</a> >> 
        <asp:Label runat="server" ID="lblHomeTitle"></asp:Label>
    </div>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ContentPlaceHolderRight" runat="server">
    <div id="mainContent" style="z-index: 1;">
        <table class="noborderTable" style="margin-left: 5px">
            <tr>
                <td style="width: 130px">派车单号:</td>
                <td>
                    <asp:TextBox runat="server" ID="txtCode" ReadOnly="true"></asp:TextBox></td>
            </tr>
            <tr>
                <td>项目名称：</td>
                <td>
                    <asp:TextBox runat="server" ID="txtProjectName" ReadOnly="true"></asp:TextBox></td>
            </tr>
            <tr>
                <td>车牌号:</td>
                <td>
                    <asp:TextBox runat="server" ID="txtVehicle" Text="点击选择" ReadOnly="true"></asp:TextBox>
                </td>

            </tr>
            <tr>
                <td>车辆编号:</td>
                <td>
                    <asp:TextBox runat="server" ID="txtVehicleCode" ReadOnly="true"></asp:TextBox>
                </td>

            </tr>
            <tr>
                <td>车辆所有人：</td>
                <td>
                    <asp:TextBox runat="server" ID="txtVehicleOwner" ReadOnly="true"></asp:TextBox></td>
            </tr>
            <tr>
                <td>联系电话：</td>
                <td>
                    <asp:TextBox runat="server" ID="txtOwnerContactNo" ReadOnly="true"></asp:TextBox></td>
            </tr>
            <tr>
                <td>司机：</td>
                <td>
                    <asp:TextBox runat="server" ID="txtDriver" ReadOnly="true"></asp:TextBox></td>
            </tr>
            <tr>
                <td>司机联系电话：</td>
                <td>
                    <asp:TextBox runat="server" ID="txtDriverPhoneNo" ReadOnly="true"></asp:TextBox></td>
            </tr>
            <tr>
                <td>车队负责人:</td>
                <td>
                    <asp:TextBox runat="server" ID="txtPricipal" ReadOnly="true"></asp:TextBox>
                </td>

            </tr>
            <tr>
                <td colspan="2" style="text-align: center;">
                    <asp:Button ID="btnGenerate" Visible="false" runat="server" Text="生成运输单" CssClass="btn-submit" OnClick="btnGenerate_Click"></asp:Button>
                    <asp:Button ID="btnPrint" Visible="false" runat="server" Text="打印派车单" CssClass="btn-submit" OnClientClick="Print()"></asp:Button>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>

